package com.jdkdongtaidaili;

public class StudentImpl implements Istudent{

    @Override
    public void eat(Student student) {
        System.out.println(student.getName() + "吃饭");
    }

    @Override
    public void sleep(Student student) {
        System.out.println(student.getName()  + "睡觉");
    }
}
